home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
029a
/
slctomat.zip
/
SLCTOMAT.TXT
< prev
Wrap
Text File
|
1991-07-19
|
4KB
|
124 lines
SLCTOMAT.TXT
SLCTOMAT.EXE (The SELECT-O-MATIC program) takes a standard ASCII
file and randomly selects one of the lines.
Instructions for use of SLCTOMAT.EXE:
SLCTOMAT <filename.ext> [optional switches]
Optional switches:
SOUND
NOREPEAT
******************************************************************
******************* CREATING A TEXT FILE ********************
******************************************************************
SELECT-O-MATIC uses any standard ASCII file as the input file.
To to create a standard ASCII file from the DOS prompt, type:
COPY CON <filename.ext>
where <filename.ext> is replaced with the name that you want to
give to the file. For example, If you want randomly pick
where you are going to eat lunch, you could give the file the
name LUNCH. To create the file LUNCH you would type:
COPY CON LUNCH
and then you would press the ENTER/RETURN key.
From the line directly beneath the 'COPY CON ...' line, type
in your first choice. For our example, you might want to type
in PIZZA. Press the ENTER/RETURN key.
Continue typing in the choices and pressing the ENTER/RETURN
key until you have entered all of the choices you want.
From the blank line beneath your last choice press the F6 key.
This will place a ^Z on that line. Now press the ENTER/RETURN
key. You should see the message:
1 File(s) copied
Now you can type:
SLCTOMAT LUNCH
And press the ENTER/RETURN key to start the program.
******************************************************************
********************* OPTIONAL SWITCHES *********************
******************************************************************
If you want to turn on the sound on while you use
SELECT-O-MATIC with the LUNCH file, type:
SLCTOMAT LUNCH SOUND
SELECT-O-MATIC can also be ran so that it will not repeat any of
the choices. An example of how this can be used is the splitting
up of sixteen golfers into four foursomes. Create the text file
of the sixteen golfers using the COPY CON command:
COPY CON GOLFERS
STEVE
MITCH
ELIZABETH
.
.
.
MIKE
LARRY
DEBBIE
DAVE
BILL
Then press the F6 key and then the ENTER/RETURN key (see above).
Now type:
SLCTOMAT GOLFERS NOREPEAT
After the first golfer, for the first foursome is chosen,
the message at the bottom of the screen will read:
Press ESC to quit, any other key to start over.
Press any key besides ESC, and SELECT-O-MATIC will choose the
next player from the remaining fifteen golfers. Continue until
all sixteen players have been chosen.
After the last golfer has been chosen a message will appear
in the middle of your screen saying:
All items were selected....
***************************************************************
SELECT-O-MATIC does not alter the input text files, it only
reads them.
Pressing the escape (ESC) key at any time while running
SELECT-O-MATIC will stop the program, and exit to DOS.
If you find this program useful please send a donation ($5.00
minimum) to:
TE Software
PO Box 1212
Spfld., IL 62705
Make checks payable to Bill Tober.
I will send you a diskette with other programs that I've
created. Thank You - Bill Tober